package com.zjl.hiring.company.entity;

import java.util.Date;

import com.zjl.hiring.common.Constant;

/**
 * 
 * @author Administrator
 *
 */
public class ApplicationEntity {
	private int id;
	private int positionId;
	private int talentId;
	private int resumeId;
	private int status;
	private Date appTime;
	private Date handlTime;

	private String positionName;
	private String companyName;

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPositionId() {
		return positionId;
	}

	public void setPositionId(int positionId) {
		this.positionId = positionId;
	}

	public int getTalentId() {
		return talentId;
	}

	public void setTalentId(int talentId) {
		this.talentId = talentId;
	}

	public int getResumeId() {
		return resumeId;
	}

	public void setResumeId(int resumeId) {
		this.resumeId = resumeId;
	}

	public int getStatus() {
		return status;
	}

	public String getStatusStr() {
		if (status == Constant.APPLY_NO_CHECK) {
			return "未审核";
		} else if (status == Constant.APPLY_PASSED) {
			return "审核通过";
		} else {
			return "已拒绝";
		}
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getAppTime() {
		return appTime;
	}

	public void setAppTime(Date appTime) {
		this.appTime = appTime;
	}

	public Date getHandlTime() {
		return handlTime;
	}

	public void setHandlTime(Date handlTime) {
		this.handlTime = handlTime;
	}
}
